 <meta charset="utf-8">
<script src="js/jquery.js"> </script>	
<link rel="stylesheet" href="css/csstb.css" type="text/css" media="screen" />
<form action="insert_menufication.php" name="deli_pop" id="deli_pop" method="post">
<?php
require("db/connect.php");
require("funcsubstr.php");
require("prename.php");
$sqlselectproduct="select * from product where pro_id=".$_GET["product"];
$queryselectproduct=mysql_query($sqlselectproduct);
//$sqlcust="select * from orders,cart,product,customer where orders.orders_id=cart.orderid and cart.pro_id=product.pro_id and customer.cus_id =orders.cus_id and  orders.orders_id=".$_GET["order"]."  ";
//$querycust=mysql_query($sqlcust);
//$fetch_cust=mysql_fetch_array($querycust);

//$sql="select * from orders,cart,product where orders.orders_id=cart.orderid and cart.pro_id=product.pro_id and  orders.orders_id=".$_GET["order"]."";
//$query=mysql_query($sql);


//$sqldeli="select * from delivery where orders_id=".$_GET["order"]."";
//$querydeli=mysql_query($sqldeli);
//$resultdeli=mysql_fetch_array($querydeli);

 ?>
 <style>
 body {
	 
    /*background-image :url("img/pyk.jpg");
    background-repeat: no-repeat;
    background-position:top;*/
}
</style>
 <div align="center"><img src="img/pyk.JPG"  width="330" height="240" /></div>
 <table width="200" border="1">
 <?php 
	  $countX=0;
  while($resultproduct=mysql_fetch_array($queryselectproduct)){
  ?>
   <tr>
     <td>รหัสสินค้า</td>
     <td><?php echo $resultproduct["pro_id"];?>
     <input type="hidden" id="pro_id" name="pro_id" value="<?php echo $resultproduct["pro_id"];?>" /></td>
   </tr>
   <tr>
     <td>ชื่อสินค้า</td>
     <td><?php echo $resultproduct["pro_name"];?></td>
   </tr>
     <tr>
     <td>สีสินค้า</td>
     <td> <select name="pro_color" id="pro_color">
        <option value="xx">กรุณาเลือกสี</option>
        <option value="00">แดง</option>
        <option value="01">แดงเม็ดมะขาม</option>
        <option value="02">น้ำเงิน</option>
        <option value="03">เหลือง</option>
        <option value="04">เขียว</option>
        <option value="05">เทา</option>
        <option value="06">ขาว</option>
        <option value="07">ส้ม</option>
        <option value="08">น้ำตาลอิฐ</option>
      </select></td>
   </tr>
   <tr>
     <td>วันที่คาดว่าจะผลิตเสร็จ</td>
     <td>
      <input type="date" value="<?php echo date("Y-m-d") ?>" name="date_manu" id="date_manu" /></td>
   </tr>
   <?php     $countX++;}?>
 </table>
 <input type="submit" name="button" id="button" value="ตกลง" />
 <input type="submit" name="button2" id="button2" value="ยกเลิก" />
</form>